package org.lmaor.menu;

import java.util.List;

import org.lmaor.menu.entry.Menu;

public interface MenuManage<T> {
	
	public Menu<T> create(String path);
	
	public Menu<T> create(String path,T value);
	
	public Menu<T> create(String path,String name,T value);
	
	public Menu<T> get(String path);
	
	public List<Menu<T>> findMenus(String path);
	
	public Menu<T> remove(String path);
	
	public T getValue(String path);
	
	public boolean exist(String path);
	
	public void addMenuListener(MenuListener<T> menuListener);
}
